package JDK8_zone;

import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.time.chrono.JapaneseDate;

public class Test {
    public static void main(String[] args) {
        ZoneId z1 = ZoneId.of("Japan");
        ZonedDateTime zdt1 = ZonedDateTime.now(z1);
        System.out.println("日本时间："+zdt1);
    }
}
